usb: ehci-mx6: Make regulator DM_REGULATOR dependent
authorAbel Vesa <[email protected]>
Fri, 1 Feb 2019 16:40:08 +0000 (16:40 +0000)
committerStefano Babic <[email protected]>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
commit921208ebca6f109990359b3089b5f416b269b07b
tree9988de017a28322fb9734fd210aeeb7da6a13ea1
parent79536013a3c5d451b7209ad66eb16b3b5b64bbaf
usb: ehci-mx6: Make regulator DM_REGULATOR dependent

Do the regulator related work only if the build has the DM_REGULATOR.

Signed-off-by: Abel Vesa <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
drivers/usb/host/ehci-mx6.c